package ai.people.netmon.telegram.service;

import ai.people.netmon.framework.domain.telegram.entity.Channels;
import ai.people.netmon.framework.domain.telegram.vo.channels.ChannelsView;
import ai.people.netmon.framework.model.response.PageResponse;
import ai.people.netmon.telegram.domain.request.SearchAccountChannelRequest;
import ai.people.netmon.telegram.domain.request.channels.ChannelsRequest;

/**
 * 隐网监测系统-群组
 *
 * @author yuanqinglong
 * @date 2022/1/10 10:00
 */
public interface ChannelsService {

    /**
     * 分页查询群组
     *
     * @param channelsRequest 查询条件
     * @return {@link PageResponse}<{@link Channels}>
     */
    PageResponse<ChannelsView> businessChannelsList(ChannelsRequest channelsRequest);


    /**
     * 搜索群组
     *
     * @param searchChannelRequest 搜索群组请求
     * @return {@link PageResponse}<{@link ChannelsView}>
     */
    PageResponse<ChannelsView> searchChannels(SearchAccountChannelRequest searchChannelRequest);

}
